{extend name="public/base" /} {block name="body"}
<div class="content-tabs">
	<ol class="breadcrumb">
		<li>
			<a href="{:url('web/index/index')}"><i class="fa fa-home"></i></a>
		</li>
		<li>
			<strong>员工列表</strong>
		</li>
	</ol>
</div>
<div class="ibox float-e-margins">
	{include file="employee/top"}
	<div class="ibox-content">
		<div class="row">
			<div class="col-sm-12">
				{if $count<10}
				<a href="{:url('add')}" class="btn btn-xs btn-primary">添加</a>
				{/if}
			</div>
		</div>
            <div class="example-wrap">
                <div class="example">
                    <table class="table table-bordered table-hover">
                        <thead>
                            <tr class="long-tr">   
                            	<th>工号</th>
                                <th>姓名</th>
                                <th>手机号</th>
                                <th>职务</th>
                                <th>店铺名称</th>
                                <th>备注</th>
                                <th>操作</th>
                            </tr>
                        </thead>
                        <tbody id="list">
                        	{volist name="list" id='ad'}
                        	<tr>
                        		<td>{$ad.no}</td>
                        		<td>{$ad.name}</td>
                        		<td>{$ad.mobile}</td>
								<td>{$ad.zwname}</td>
								<td>
								{if $ad.lsname}
								{$ad.lsname}
								{else}
								{$ad.sjname}
								{/if}
								</td>
								<td>{$ad.memo}</td>
                        		<td>	
                        			<a href="{:url('edit',['id'=>$ad.id])}" class="btn btn-primary bnt-sm">
										<i class="fa fa-paste"></i> 编辑</a>&nbsp;&nbsp; {if condition="$vo.id neq 1"}
									<a href="{:url('delete',['id'=>$ad.id])}" class="btn btn-danger bnt-sm ajax-delete">
										<i class="fa fa-trash-o"></i> 删除</a>
									{/if}
                        		</td>
                        	</tr>
                        	{/volist}
                        </tbody>
                    </table>
                </div>
            </div>
            </div>
</div>
{/block} {block name="script"}
<script src="__LIB__/datepicker/WdatePicker.js"></script>
<script>
	//顶部导航
	$("#li-bar-index").addClass("active");
</script>
<style>
.bank{
	width: 150px;
    height:30px;
    text-align:center;
    border-radius:5px;
}
</style>
{/block}